//
//  HDPolicyDetailVC.swift
//  HuaDaoPeifu
//
//  Created by ZERO on 2018/6/20.
//  Copyright © 2018年 paiyipai. All rights reserved.
//

import UIKit

class HDPolicyDetailVC: UIViewController {

    @IBOutlet weak var webView: UIWebView!
    var policynoStr:String!

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        
        title = "保单详情"
        
        let tokenStr = String("?atk=\(HDAccountHandler.token!)")
        
        webView.loadRequest(URLRequest(url:URL(string:AppApi.policyDetailApiUrl + tokenStr! + "&policyno=" + policynoStr)!))
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
